package avicit.bdp.dds.alert.manager;

import avicit.bdp.dds.alert.utils.MailUtils;

import java.util.List;
import java.util.Map;

/**
 * email send manager
 */
public class EmailManager {
    /**
     * email send
     * @param receviersList the receiver list
     * @param receviersCcList the cc List
     * @param title the title
     * @param content the content
     * @param showType the showType
     * @return the send result
     */
    public Map<String,Object> send(List<String> receviersList,List<String> receviersCcList,String title,String content,String showType){

        return MailUtils.sendMails(receviersList, receviersCcList, title, content, showType);
    }

    /**
     * msg send
     * @param receviersList the receiver list
     * @param title the title
     * @param content the content
     * @param showType the showType
     * @return the send result
     */
    public Map<String,Object> send(List<String> receviersList,String title,String content,String showType){

        return MailUtils.sendMails(receviersList,title, content, showType);
    }
}
